{extend name="base" /} {block name="body"}
<div class="layui-body">
	<div class="navbar">
		<a><cite>商品管理</cite></a>&nbsp;<span class="layui-box">&gt;</span>
		<a href=""><cite>订房列表</cite></a>
	</div>		
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<ul class="layui-tab-title">
			<li class="layui-this">预定信息管理</li>
		</ul>
		<div class="layui-tab-content">
			<table class="layui-table layui-form">
				<thead>
					<tr>
						<th>ID</th>
						<th>预定人姓名</th>
						<th>预定人数</th>
						<th>预定类型</th>
						<th>预定时间</th>
					</tr>
				</thead>
				<tbody>
					<form id="listForm">
					{foreach name="list" item="vo"}
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.re_name}</td>
						<td>{$vo.re_people}</td>
						<td>
							{if $vo.re_type==0}
							会员
							{else/}
							非会员
							{/if}
						</td>
						<td>{$vo.re_time}</td>
					</tr>
					{/foreach}
					</form>
				</tbody>
			</table>
			<!--分页-->
			{$list->render()}
		</div>
	</div>
</div>
<script>
	// 定义全局JS变量
	var GV = {
		current_controller: "{$controller}/index"
	};
</script>
{/block}